package cn.glow.readingcloud.homepage.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Glow
 * @Date 2023-04-21 16:02:56
 * @Description
 * @Version 1.0
 */
@Data
public class IndexBannerItem implements Serializable {
    private static final Long serialVersionUID = 1L;

    private Integer id;

    /**
     * bannerid
     */
    private Integer bannerId;

    /**
     * 名称
     */
    private String name;

    /**
     * 图片链接
     */
    private String imgUrl;

    /**
     * 跳转链接
     */
    private String url;

    /**
     * 排序
     */
    private Integer sortNumber;

    /**
     * 创建者
     */
    @TableField( value = "creater",fill = FieldFill.INSERT,updateStrategy = FieldStrategy.NEVER)

    private String creater;

    /**
     * 创建时间
     */
    @TableField( value = "create_time",fill = FieldFill.INSERT,updateStrategy = FieldStrategy.NEVER)

    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 更新者
     */
    @TableField(value = "updater",fill = FieldFill.INSERT_UPDATE)
    private String updater;
}
